package com.yuanqunsoft.alimigration.dao;

import java.util.List;
import com.yuanqunsoft.alimigration.model.Rule;
import com.yuanqunsoft.alimigration.model.RuleImplement;

public interface IRuleImplementDao {

    public List<Rule> getAllRules();

    public boolean save(RuleImplement rs);
    
    public Rule getRuleById(int id);

    public boolean delete(RuleImplement rs);

    public boolean update(RuleImplement rs);

    public List<RuleImplement> getAllRuleImplement();

    public List<RuleImplement> queryPage(int currentPage, int pageSize);
    
    public List<RuleImplement> getRuleImplementByRuleId(int id);

    public RuleImplement getRuleImplementById(int id);

    public int getAllPage();

}
